package com.jwj.pojo;

import java.util.Date;

public class Comment {
    private int comment_id;
    private int post_id;
    private int account_id;
    private String content;
    private Date create_time;
    private int user_id_parent;

    public Comment() {
    }

    public Comment(int comment_id, int post_id, int account_id, String content, Date create_time, int user_id_parent) {
        this.comment_id = comment_id;
        this.post_id = post_id;
        this.account_id = account_id;
        this.content = content;
        this.create_time = create_time;
        this.user_id_parent = user_id_parent;
    }

    public int getComment_id() {
        return comment_id;
    }

    public void setComment_id(int comment_id) {
        this.comment_id = comment_id;
    }

    public int getPost_id() {
        return post_id;
    }

    public void setPost_id(int post_id) {
        this.post_id = post_id;
    }

    public int getAccount_id() {
        return account_id;
    }

    public void setAccount_id(int account_id) {
        this.account_id = account_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public int getUser_id_parent() {
        return user_id_parent;
    }

    public void setUser_id_parent(int user_id_parent) {
        this.user_id_parent = user_id_parent;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "comment_id=" + comment_id +
                ", post_id=" + post_id +
                ", account_id=" + account_id +
                ", content='" + content + '\'' +
                ", create_time=" + create_time +
                ", user_id_parent=" + user_id_parent +
                '}';
    }
}
